// pages/components/footer.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  
  /**
   * 组件的方法列表
   */
  methods: {
    goIndex: function (e) {
      // wx.redirectTo({
      //   //url: "/pages/form/form"
      //   url: "/pages/index/index"
      //   })
      wx.showModal({
        title: '',
        content: '购票请至微信公众号：玩购-漫购天堂',
        showCancel: false,
        confirmText: '确定',
        success: function (res) {
          
        }
      })
      

      },
  goRule: function (e) {
    wx.redirectTo({
      url: "/pages/index/rule/rule"
    })
  },
  goResult: function (e) {
    wx.navigateTo({
      url: "/pages/index/result/result"
    })
  },
  goRanking: function (e) {
    wx.redirectTo({
      url: "/pages/index/ranking/ranking"
    })
  },
  }
})
